package com.xr.service;

import java.util.List;

/**
 * 批量处理过程
 * Created by Arnold on 2018/6/12.
 */
public interface IBatchProcessor<T> {
  /**
   * 任务处理过程
   *
   * @param batch
   * @param taskList
   *
   * @throws Exception
   */
  public void process(int batch, List<T> taskList) throws Exception;
}
